<!-- nav -->                 
<nav class="nav-primary hidden-xs">
	<#list currentResources() as r>

  <ul class="nav" data-ride="collapse">
  	<#if r.childContains(currentRequest().getRequestURI())>
  		<li class="active">
    <#else>
    	<li>
    </#if>
    <#if r.resourceUrl!'' != "">
      <a href="${r.resourceUrl}" class="auto">
    <#else>
    	<a href="javascript:void(0)" class="auto">
    </#if>
        <span class="pull-right text-muted">
          <i class="fa fa-angle-left text"></i>
          <i class="fa fa-angle-down text-active"></i>
        </span>
        <i class="${r.icon!''} icon">
        </i>
        <span>${r.resourceName!''}</span>
      </a>
    <#if r.childs??>
      <ul class="nav dk text-sm">
      	<#list r.childs as cr>
      	<#if cr.isEqualPath(currentRequest().getRequestURI())>
        	<li class="active">
        <#else>
        	<li>
        </#if>
          <a href="${cr.resourceUrl!''}" target="_self" class="auto">
            <i class="${cr.icon} text-xs"></i>
            <span>${cr.resourceName!''}</span>
          </a>
        </li>
        </#list>
      </ul>
    </#if>
    </li>
 </ul>
    </#list>

</nav>
<!-- / nav -->